﻿CREATE FUNCTION [dbo].[clr_BusinessDaysDiff]
(@startDate DATETIME, @endDate DATETIME, @uniDirection BIT)
RETURNS FLOAT
AS
 EXTERNAL NAME [BusinessDays].[UserDefinedFunctions].[clr_BusinessDaysDiff]


GO
EXECUTE sp_addextendedproperty @name = N'AutoDeployed', @value = N'yes', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_BusinessDaysDiff';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFile', @value = N'BusinessDays.cs', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_BusinessDaysDiff';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFileLine', @value = 9, @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_BusinessDaysDiff';

